package com.xyw.code.authentication.server.service;

import javax.servlet.http.HttpServletRequest;

/**
 * Created with IntelliJ IDEA.
 * User: xuyiwei
 * Date: 2020/3/2
 * Time: 下午10:04
 * Email: 1328312923@qq.com
 * Description: No Description
 **/
public interface IAuthenticationService {
    /**
     * 校验权限
     *
     * @param authRequest
     * @return 是否有权限
     */
    boolean decide(HttpServletRequest authRequest);
}
